﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skyhook.Core;
using Microsoft.Xna.Framework;

namespace Skyhook.AI
{
    public class TimingData
    {
        public void Initialize(double tickduration)
        {
            TickDuration = tickduration;
        }

        public void Update(GameTime time)
        {
            Scale = (float)time.ElapsedGameTime.Ticks / (float)TimeSpan.TicksPerMillisecond / (float)TickDuration;
        }

        public double TickDuration
        {
            get;
            private set;
        }

        public float Scale
        {
            get;
            private set;
        }
        
    }
}
